#!/bin/bash
#and run this with root

date >/var/log/duyetweb.log


#boot up tu duyet web
sudo cp duyetweb /etc/init.d/
sudo chmod +x  /etc/init.d/duyetweb
sudo ln -s /etc/init.d/duyetweb /etc/rc3.d/S93duyetweb
sudo ln -s /etc/init.d/duyetweb /etc/rc2.d/S93duyetweb

rm -f tuduyet
make tuduyet
sudo cp tuduyet /usr/bin
